package com.aiwiown.face.response;

import com.aiwiown.face.ApiResponse;
import com.aiwiown.face.domain.skeleton.Skeletons;
import com.aiwiown.face.internal.mapping.ApiListField;

import java.util.List;

/**
 * @ClassName : FaceSkeletonResponse
 * @Description :
 * @Author : dbin0123
 * @Date: 2020-06-13 13:55
 */
public class FaceSkeletonResponse extends ApiResponse {

    private static final long serialVersionUID = 2939908250212234286L;

    /**
     * 被检测出的人体数组，具体包含内容见下文。
     *
     * 注：如果没有检测出人体则为空
     */
    @ApiListField("skeletons")
    private List<Skeletons> skeletons;

    public List<Skeletons> getSkeletons() {
        return skeletons;
    }

    public void setSkeletons(List<Skeletons> skeletons) {
        this.skeletons = skeletons;
    }
}
